package com.bw.mmcro.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 
 * </p>
 *
 * @author 黄旭超
 * @since 2022-05-20
 */
@Getter
@Setter
@TableName("month_user")
public class User implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 手机号
     */
    private String phone;

    private String username;

    /**
     * 密码
     */
    private String password;

    private String salt;

    private LocalDateTime created;

    private LocalDateTime updated;


}
